﻿namespace IBTrader.Indicator
{
    using IBTrader.Charts;

    abstract class BasePrices : Base
    {
        public Prices Prices { get; protected set; }
        protected BasePrices(Worker worker, IChartArgs chartArgs, int interval) : base(worker, chartArgs)
        {
            Prices = new Prices(interval);
        }
        protected BasePrices(Worker worker, int interval) : this(worker, new ChartArgs(), interval) { }
    }
}
